package com.foley.sync.example;

import com.foley.sync.R;

import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.View;

public class HomeActivity extends Activity {
	
	private String TAG = "SyncTestActivity";
	//ActionBar abar = getActionBar().setHomeButtonEnabled(true);
	
    /** Called when the activity is first created. */	
	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
	    MenuInflater inflater = getMenuInflater();
	    inflater.inflate(R.menu.actionbar_home_menu, menu);	
	    //getActionBar().setHomeButtonEnabled(true);
	    return true;
	}
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.frontdoor);
        Log.i(TAG,"Beginning of Application process flow inside onCreate");
    }
	
    /** Handle "schedule" action. */
    public void onScheduleClick(View v) {
        // Launch overall conference schedule
        startActivity(new Intent(this, ScheduleActivity.class));        
    }

    /** Handle "map" action. */
    public void onMapClick(View v) {
        // Launch map of conference venue
        //startActivity(new Intent(this, PlacesActivity.class));
    }

}